package com.blackfish.history;

import com.blackfish.command.CommandService;
import com.blackfish.common.model.AdminHistory;
import com.jfinal.core.Controller;
import com.jfinal.plugin.activerecord.Record;

import java.util.List;

public class HistoryController extends Controller {
    static HistoryService service = new HistoryService();
    public void table(){
        List<Record> service_list = service.findAllView();
        renderJson(service_list);
    }
}
